package com.deep.consumer.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProviderController {

    @GetMapping("/provider/{name}")
    public String echo(@PathVariable(name = "name") String name) {
        return "provider " + name;
    }
}
